package netty;

import lombok.Data;

/**
 * 发送的netty 数据
 *
 * @author Administrator
 */
@Data
public class DataRequest {

    /**
     * 发送的数据
     */
    private String data;

    /**
     * lora id
     */
    private String loraId;

    /**
     * 集中器ID
     */
    private String stationId;

    public DataRequest(String data, String loraId, String stationId) {
        this.data = data;
        this.loraId = loraId;
        this.stationId = stationId;
    }

    public String getId() {
        return loraId;
    }

    public void setId(String id) {
        this.loraId = id;
    }

}
